<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;
use think\Request;
class User extends Base
{
    //用户列表
    public function index()
    {
        $res = Db::name('user')->select();
        $this->assign("res",$res);
        // dump($res);
        // exit;
        return $this->fetch();
    }
}